\name{ProtectedDecompose}
\alias{ProtectedDecompose}
\encoding{UTF-8}
%- Also NEED an '\alias' for EACH other topic documented here.
\title{
Protected decomposition of Geometry
}
\description{
面对象保护性分解。区别于组合对象将子对象进行简单分解，保护性分解将复杂的具有多层岛洞嵌套关系的面对象分解成只有一层嵌套关系的面对象。 面对象中有子对象部分交叠的情形不能保证分解的合理性。 
}
\usage{
ProtectedDecompose(obj)
}
%- maybe also 'usage' for other objects documented here.
\arguments{
  \item{obj}{
 面对象
}
}
\details{
%%  ~~ If necessary, more details than the description above ~~
}
\value{
如果成功，返回保护性分解后的面对象数组。否则返回 FALSE。
}
\references{
%% ~put references to the literature/web site here ~
}
\author{
%%  ~~who you are~~
}
\note{
%%  ~~further notes~~
}

%% ~Make other sections like Warning with \section{Warning }{....} ~

\seealso{
%% ~~objects to See Also as \code{\link{help}}, ~~~
}
\examples{

ps <- matrix(nrow = 15, ncol = 2)
xs <- c(10,20,20,10,10,110,120,120,110,110,110,120,120,110,110)
ys <- c(10,10,20,20,10,10,10,20,20,10,110,110,120,120,110)
ps[,1] <- xs
ps[,2] <- ys
geo <- CreateRegion(ps, c(5,5,5))
geos <- ProtectedDecompose(geo)

}
% Add one or more standard keywords, see file 'KEYWORDS' in the
% R documentation directory.
\keyword{ supermap }% use one of  RShowDoc("KEYWORDS")
